<div class="row" >
	<?php if(isset( $bookmark )) : ?>
		<a href="<?php echo Yii::app()->createUrl('cataloge/delBookmark', array('object'=>$object, 'favorite'=>$bookmark->id)); ?>" class="btn red red_bkm br5"><?php echo Yii::t("main", "Remove bookmarks");?><span></span><i></i></a>
	<?php else : ?>
		<a href="<?php echo Yii::app()->createUrl('cataloge/addBookmark', array('object'=>$object)); ?>" class="btn blue br5"><?php echo Yii::t("main", "Add to bookmarks");?><span></span><i></i></a>
	<?php endif; ?>
</div>
<div class="row saved cl"><?php echo Yii::t("main", "Saved")?> <?php echo CHtml::encode($countBookmark); ?> <?php echo Yii::t("main", "times")?></div>